package com.kwz.common.resources;

import com.kwz.common.CommonException;
import com.kwz.common.designpatterns.IUnknown;

/**
 * <p>
 * 		Interface de validateur des ressources.
 * </p>
 * @author Cyril Chevalier
 *
 */
public interface IResourceValidator extends IUnknown{

	/**
	 * Valide la ressource.
	 * @param resource la ressource
	 * @return vrai si la ressource est valide, faux sinon
	 * @throws CommonException
	 */
	public boolean validate(Object resource) throws CommonException;
	
}
